import { Platform } from 'react-native';
import { StackNavigator } from 'react-navigation';
import AppGuide from './pages/AppGuide';
import Main from './pages/Main';
import Details from './pages/Details';

export default StackNavigator(
  {
    Guide: { screen: AppGuide },
    Index: { screen: Main },
    Details: { screen: Details }
  },
  {
    initialRouteName: 'Index',
    headerMode: 'none',
    mode: Platform.OS === 'ios' ? 'card' : 'card'
  }
);
